<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class RepositoryServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(\App\Repositories\DormRepository::class, \App\Repositories\DormRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffRepository::class, \App\Repositories\StaffRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\BuildingRepository::class, \App\Repositories\BuildingRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DepartmentRepository::class, \App\Repositories\DepartmentRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormMeterRepository::class, \App\Repositories\DormMeterRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\MeterTypeRepository::class, \App\Repositories\MeterTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\PeriodRepository::class, \App\Repositories\PeriodRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormMeterRecordRepository::class, \App\Repositories\DormMeterRecordRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\SysSettingRepository::class, \App\Repositories\SysSettingRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\MeterTypePriceLevelRepository::class, \App\Repositories\MeterTypePriceLevelRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\ElectricFeeTypeRepository::class, \App\Repositories\ElectricFeeTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\WaterFeeTypeRepository::class, \App\Repositories\WaterFeeTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\ManageFeeTypeRepository::class, \App\Repositories\ManageFeeTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DepositTypeRepository::class, \App\Repositories\DepositTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffPositionRepository::class, \App\Repositories\StaffPositionRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormTypeRepository::class, \App\Repositories\DormTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffDormAdjustRepository::class, \App\Repositories\StaffDormAdjustRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffPeriodFeeRepository::class, \App\Repositories\StaffPeriodFeeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffPeriodFeeDetailRepository::class, \App\Repositories\StaffPeriodFeeDetailRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormMeterAdjustRepository::class, \App\Repositories\DormMeterAdjustRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormPeriodConsumeRepository::class, \App\Repositories\DormPeriodConsumeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DepositRepository::class, \App\Repositories\DepositRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\FamilyRepository::class, \App\Repositories\FamilyRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\HotWaterFeeTypeRepository::class, \App\Repositories\HotWaterFeeTypeRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\StaffDormAdjustSnifferRepository::class, \App\Repositories\StaffDormAdjustSnifferRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\CompanyRepository::class, \App\Repositories\CompanyRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\RatingCategoryRepository::class, \App\Repositories\RatingCategoryRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\RatingSubitemRepository::class, \App\Repositories\RatingSubitemRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormitoryRatingRepository::class, \App\Repositories\DormitoryRatingRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormRatingMainRepository::class, \App\Repositories\DormRatingMainRepositoryEloquent::class);
        $this->app->bind(\App\Repositories\DormMeterPeriodInitReadingRepository::class, \App\Repositories\DormMeterPeriodInitReadingRepositoryEloquent::class);
        //:end-bindings:
    }
}
